﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HalalCheck.DataModels;
using Xamarin.Forms;

namespace HalalCheck.ViewModels
{
    public class HalalItemViewModel : BaseViewModel
    {
        private string _halaltext;
        private string _description;
        private string _name;
        private string _id;
        private Color _halalColor;

        private HalalItem _selectedHalalItem;
        public HalalItem SelectedHalalItem
        {
            get { return _selectedHalalItem; }
            set
            {
                if (value != null)
                {
                    _selectedHalalItem = value;
                   NotifyPropertyChanged();
                }
            }
        }

        public HalalItemViewModel(/*HalalItem hi*/)
        {
          //  SelectedHalalItem = hi;
        }
    }
}
